$(document).ready(
	function(){
		var pageArray = ["div#recent_activity", "div#listLopResourcePage", "div#listLopNewsPage", "div#listHelpPage"];
		var menuArray = ["a#showLopHome", "a#listLopResource", "a#listLopNews", "a#listHelpInfo"];
		
		for (var i=0;i<pageArray.length;i++){
			var page = pageArray[i];
			var menu = menuArray[i];
			if($(page).length > 0){
				$(menu).addClass("menu_selected");
				$(menu).css("color", "#fe7405");
			}else{
				$(menu).addClass("menu_item");
			}
		}
	}	
);